/**
* ...
* @author Default
* @version 0.1
*/
package net.roading.events
{
	import flash.events.Event;
	public class DataEvent extends Event
	{
		protected var _data:Object;
		
		public function DataEvent(type:String, data:Object, bubbles:Boolean = false, cancelable:Boolean = false) 
		{
			super(type, bubbles, cancelable);
			_data = data;
		}

		public function get data():Object
		{
			return _data;
		}
		
		//
		public override function toString():String 
		{
			return formatToString("DataEvent:", "type", "bubbles", "cancelable", "data");
		}
	}
}